package com.itheima02func;

public class MethodDemo {
    public static void main(String[] args) {
        int num1 = 20;
        int num2 = 30;
        isEvenNumber();
        getMax(10,num2);
    }
    public static void isEvenNumber(){
        int num = 10;
        if(num % 2 == 0){
            System.out.println(true);
        }
        else {
            System.out.println(false);
        }
    }
    public static void getMax(int a, int b){
        System.out.println(a>b?a:b);
    }
}
